package com.flx.sentinel.service;

/**
 * @Author Fenglixiong
 * @Create 2022/4/22 18:48
 * @Description
 **/
public interface SentinelService {

    String testHello(String name);

    String testGetInfo();

    /**
     * 带自定义返回信息的限流
     * @return
     */
    String testBlockHandler(String name);

    /**
     * 带自定义返回信息的降级
     * @param name
     * @return
     */
    String testFallbackHandler(String name);

}
